package com.wind.taobao.api.jianghu.rest
{
	import com.wind.taobao.core.webservice.TaobaoResponse;

	/**
	 * taobao.jianghu.friends.areFriends Response
	 * @author fxy
	 *
	 */
	public class JianghuFriendsAreFriendsResponse extends TaobaoJianghuResponse
	{
		public var friends_areFriends_response:Boolean=false;

		public function JianghuFriendsAreFriendsResponse(response:TaobaoResponse=null)
		{
			super(response);
			initResults();
		}

		private function initResults():void
		{
			if (body != null && this.isSuccess)
			{
				if (this.format == "xml")
				{
					//暂未实现
				}
				else
				{
					if (this.isSubSuccess)
					{
						if (body.hasOwnProperty(["friends_areFriends_response"]))
							friends_areFriends_response=body["friends_areFriends_response"];//已转换Boolean
					}
				}
			}
		}
	}
}